namespace ASP
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    public partial class Material
    {
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Mat_Id { get; set; }

        [Required]
        [StringLength(26)]
        public string Mat_Name { get; set; }

        [StringLength(20)]
        public string Mat_Group { get; set; }

        public int? Mat_Quantity { get; set; }

        [StringLength(10)]
        public string Mat_Unit { get; set; }

        public int? Mat_InPrice { get; set; }

        public int? Mat_Inventory { get; set; }

        [StringLength(1000)]
        public string Mat_Memo { get; set; }

        public int? Pro_Id { get; set; }

        public int? Mem_Id { get; set; }

        public virtual Member Member { get; set; }

        public virtual ProductDB ProductDB { get; set; }
    }
}
